package xian.woniuxy.be.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import xian.woniuxy.be.dao.UsersMapper;
import xian.woniuxy.be.entity.Users;
import xian.woniuxy.be.service.IUsersService;

import java.util.List;

/**
 * @author Gong
 * @time 2022/01/11 15:13:42
 */
@Service
@Transactional
public class UsersServiceImpl implements IUsersService {

    @Autowired
    private UsersMapper usersMapper;

    @Override
    public List<Users> findAll() {
        return usersMapper.selectByExample(null);
    }
}
